Make GtkMenuButton::direction more useful.
authorArnaud Bonatti <arnaud.bonatti@gmail.com>
Mon, 28 Sep 2020 15:30:30 +0000 (17:30 +0200)
committerArnaud Bonatti <arnaud.bonatti@gmail.com>
Tue, 29 Sep 2020 00:26:13 +0000 (02:26 +0200)
commit4684082232cfd21a0642716b2530f565cf467505
tree10f6a06b7848121eccb8b728257b92e7325a9677
parent5536a2ffe69263c83f6770bc9cb39f2a31911928
Make GtkMenuButton::direction more useful.

This property was only used until now when
there was neither an icon nor a label set,
for arrow direction and popover placement.

Starting with Gtk4, a GtkMenuButton with a
label shows an arrow at the right (in LTR)
of the label. Allow disabling the arrow or
changing its direction using the direction
property, to have a way to restore a Gtk3-
like look or to improve popover placement.

Fixes #2811.
gtk/gtkmenubutton.c